﻿<div id="loginForm" class="dialogForm" 
    
    dialog-behaviors="[{'name':'LoginBehavior', 'type': SCS.LoginBehavior}]"
    
    dialog-data="{'styleUrl': 'membership/login.css', 'className': 'dialog flex-dialog loginDialog', 'caption': 'Application Login'}">

    <p id="dialogMessage">Please enter your login credentials.</p>

    <div class="row">
        <label for="usernameEntry">Username</label><input type="text" name="usernameEntry" id="usernameEntry" title="Username" />
    </div>

    <div class="row">
        <label for="passwordEntry">Password</label><input type="password" name="passwordEntry" id="passwordEntry" title="Password" />
    </div>

    <div class="row2">
        <input type="checkbox" name="rememberMeSelect" id="rememberMeSelect" title="Remember Me" /><label for="rememberMeSelect">Remember Me</label>
    </div>

    <div class="buttons">
        <input type="button" id="loginButton" value="Login" />
    </div>  

    <div class="links">
        <a id="forgotPasswordLink" dialog-action="{url: 'membership/forgotPassword.htm'}">Forgot Password?</a><br />
        <a id="registerLink" dialog-action="{servicePath: 'AjaxService.svc', serviceMethod: 'GetMembershipContent', 'contextKey':'Register#0'}">Register</a>
    </div>
</div>